package com.finna.user.controller;

import com.finna.common.utils.ResponseResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
@Tag(name = "用户接口", description = "用户信息相关接口")
public class UserController {
    
    @RequestMapping("/info")
    @Operation(summary = "获取用户信息", description = "获取用户信息接口")
    public ResponseResult<String> getUserInfo() {
        return ResponseResult.success("User info retrieved successfully");
    }
}